'use strict';

module.exports = app => {
  const { STRING, INTEGER } = app.Sequelize;

  const Delivery = app.model.define('contract', {
    id: { type: INTEGER, primaryKey: true, autoIncrement: true },
    cid: STRING,
    company: STRING,
    higher: STRING,
    lower: STRING,
    type: STRING,
    amount: STRING,
    mark: STRING,
    time: STRING,
  });

  return Delivery;
};
